patternMatch: whqFunc.o patternMatch.o
	g++ whqFunc.o patternMatch.o -o patternMatch

whqFunc.o: whqFunc.h whqFunc.cpp
	g++ -c whqFunc.cpp -o whqFunc.o
patternMatch.o: patternMatch.cpp
	g++ -c patternMatch.cpp -o patternMatch.o
run:
	./patternMatch
clean:
	rm -f patternMatch *.o
